package com.regex.web.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author ocean
 * 
 */
public class DateConverterBase {
    private String datePattern = "yyyy-MM-dd";
    private String timePattern = "HH:mm:ss";
    private DateFormat dateFormat = new SimpleDateFormat(datePattern);
    private DateFormat dateTimeFormat = new SimpleDateFormat(datePattern + " " + timePattern);
    private DateFormat dateTimeFormatTmp = new SimpleDateFormat("yyyyMMddHH");
    private DateFormat dateTimeFormatFeeMonth = new SimpleDateFormat("yyyy-MM");

    public DateFormat getDateTimeFormatFeeMonth() {
        return dateTimeFormatFeeMonth;
    }

    public void setDateTimeFormatFeeMonth(DateFormat dateTimeFormatFeeMonth) {
        this.dateTimeFormatFeeMonth = dateTimeFormatFeeMonth;
    }

    public DateFormat getDateTimeFormatTmp() {
        return dateTimeFormatTmp;
    }

    public void setDateTimeFormatTmp(DateFormat dateTimeFormatTmp) {
        this.dateTimeFormatTmp = dateTimeFormatTmp;
    }

    public DateFormat getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(DateFormat dateFormat) {
        this.dateFormat = dateFormat;
    }

    /**
     * @return the dateTimeFormat
     */
    public DateFormat getDateTimeFormat() {
        return dateTimeFormat;
    }

    /**
     * @param dateTimeFormat the dateTimeFormat to set
     */
    public void setDateTimeFormat(DateFormat dateTimeFormat) {
        this.dateTimeFormat = dateTimeFormat;
    }

	public String convert(Date source) {
		// TODO Auto-generated method stub
		return null;
	}
	
	public String convertTime(Date source) {
        // TODO Auto-generated method stub
        return null;
    }

	public Date convert(String source) {
		// TODO Auto-generated method stub
		return null;
	}

    public String convertTimeTmp(Date source) {
        // TODO Auto-generated method stub
        return null;
    }

    public String convertFeeMonth(Date source) {
        // TODO Auto-generated method stub
        return null;
    }

}
